///////////////////////////////////////////////////////////////////////////////////////////////////
/// \file formic/test_driver/utilities.h
///
/// \brief   header file for some functions used in testing
///
///////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef FORMIC_TEST_DRIVER_UTILITIES_HEADER
#define FORMIC_TEST_DRIVER_UTILITIES_HEADER

#include<iostream>
#include<fstream>
#include<string>

namespace formic { namespace test {

  bool get_line_containing_str(std::istream & is, std::string & line, const std::string & str);

  bool compare_float(const std::string & float_name,
                     const std::string & file_name,
                     const std::string & search_string,
                     int n,
                     const double target_value,
                     const double tolerance,
                     const bool verbose);

}

}

#endif
